package com.woniuxy.mapper;

import com.woniuxy.entity.Food;

import java.util.List;

/**
* @author 泉
* @description 针对表【t_food】的数据库操作Mapper
* @createDate 2025-03-08 11:47:31
* @Entity com.woniuxy.entity.TFood
*/
public interface FoodMapper {
	/**
	 * @Description: 查询全部食物
	 * @Param:
	 * @Author: Quan
	 * @Date: 2025/3/11
	*/
	List<Food> queryAll();

	Food queryFoodById(Integer id);

	List<Integer> queryIds();

	/**
	 * @Description: 接收数字列表，进行批量查询
	 * @Param:
	 * @return:
	 * @Author: Quan
	 * @Date: 2025/3/21
	 */
	List<Food> batchQueryFood(List<Integer> ids);

	List<Food> queryFoodInfo(String name);

}




